<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>js/Api_backup/getnotes .js</title>
    <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
    <link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
    <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script>
</head>
<body class="yui3-skin-sam">

<div id="doc">
    <div id="hd" class="yui3-g header">
        <div class="yui3-u-3-4">
            
                <h1><img src="../assets/css/logo.png" title=""></h1>
            
        </div>
        <div class="yui3-u-1-4 version">
            <em>API Docs for: </em>
        </div>
    </div>
    <div id="bd" class="yui3-g">

        <div class="yui3-u-1-4">
            <div id="docs-sidebar" class="sidebar apidocs">
                <div id="api-list">
    <h2 class="off-left">APIs</h2>
    <div id="api-tabview" class="tabview">
        <ul class="tabs">
            <li><a href="#api-classes">Classes</a></li>
            <li><a href="#api-modules">Modules</a></li>
        </ul>

        <div id="api-tabview-filter">
            <input type="search" id="api-filter" placeholder="Type to filter APIs">
        </div>

        <div id="api-tabview-panel">
            <ul id="api-classes" class="apis classes">
            
                <li><a href="../classes/Copier.html">Copier</a></li>
            
                <li><a href="../classes/delmem.html">delmem</a></li>
            
                <li><a href="../classes/delnote.html">delnote</a></li>
            
                <li><a href="../classes/delrelnote.html">delrelnote</a></li>
            
                <li><a href="../classes/delreluser.html">delreluser</a></li>
            
                <li><a href="../classes/deluser.html">deluser</a></li>
            
                <li><a href="../classes/err.html">err</a></li>
            
                <li><a href="../classes/getmems.html">getmems</a></li>
            
                <li><a href="../classes/getnote.html">getnote</a></li>
            
                <li><a href="../classes/getnotes.html">getnotes</a></li>
            
                <li><a href="../classes/getusers.html">getusers</a></li>
            
                <li><a href="../classes/newmem.html">newmem</a></li>
            
                <li><a href="../classes/newnote.html">newnote</a></li>
            
                <li><a href="../classes/newuser.html">newuser</a></li>
            
                <li><a href="../classes/putmemnote.html">putmemnote</a></li>
            
                <li><a href="../classes/putrelnote.html">putrelnote</a></li>
            
                <li><a href="../classes/putreluser.html">putreluser</a></li>
            
                <li><a href="../classes/Tools.Copier.html">Tools.Copier</a></li>
            
                <li><a href="../classes/Tools.inject.html">Tools.inject</a></li>
            
                <li><a href="../classes/Tools.isArray.html">Tools.isArray</a></li>
            
                <li><a href="../classes/Tools.lpad.html">Tools.lpad</a></li>
            
                <li><a href="../classes/Tools.map.html">Tools.map</a></li>
            
                <li><a href="../classes/ToolsService.html">ToolsService</a></li>
            
                <li><a href="../classes/updatenote.html">updatenote</a></li>
            
            </ul>

            <ul id="api-modules" class="apis modules">
            
                <li><a href="../modules/Tools.html">Tools</a></li>
            
            </ul>
        </div>
    </div>
</div>

            </div>
        </div>
        <div class="yui3-u-3-4">
                <div id="api-options">
        Show:
        <label for="api-show-inherited">
            <input type="checkbox" id="api-show-inherited" checked>
            Inherited
        </label>

        <label for="api-show-protected">
            <input type="checkbox" id="api-show-protected">
            Protected
        </label>

        <label for="api-show-private">
            <input type="checkbox" id="api-show-private">
            Private
        </label>
        <label for="api-show-deprecated">
            <input type="checkbox" id="api-show-deprecated">
            Deprecated
        </label>

    </div>


            <div class="apidocs">
                <div id="docs-main">
                    <div class="content">
                        <h1 class="file-heading">File: js/Api_backup/getnotes .js</h1>

<div class="file">
    <pre class="code prettyprint linenums">
/**
* Pobiera listę notatek wg różnych kryteriów
* @class getnotes 
*/
function getnotes (){
	/**
	* getnotes
	* @property oper
	* @private 
	*/
	var oper,

	/**
	*  właściciel, jak podany to ograniczenie do tego usera, w przeciwnym przypadku wszystkie
	* @property user 
	* @private 
	*/
	user ,

	/**
	*  jak podano, tylko na liście mem.
	* @property mem 
	* @private 
	*/
	mem ,

	/**
	*  czas początkowy
	* @property time 
	* @private 
	*/
	time ,

	/**
	*  czas końcowy dla notatek
	* @property endtime 
	* @private 
	*/
	endtime ,

	/**
	*  notatki wg występowania klucza.
	* @property key 
	* @private 
	*/
	key ,

	/**
	*  tylko notatki powiązane z tą notatką Zwraca (id to id notatki)JSON:{&quot;rez&quot;:&quot;ok&quot;,&quot;notes&quot;:[&quot; id1&quot;,&quot;id2 &quot;,...,&quot;idn &quot;]} JavaScript: var note$rez={&quot;rez&quot;:&quot;ok&quot;,&quot;notes&quot;:[&quot;id1 &quot;,&quot; id2 &quot;,...,&quot; idn &quot;]}txt:ok,id1,id2,...,id3HTML: &lt;div rez=&quot;ok&quot;&gt;&lt;ul&gt;&lt;li&gt;id1&lt;/li&gt;&lt;li&gt;id2&lt;/li&gt;...&lt;li&gt;idn&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;ll 
	* @property note 
	* @private 
	*/
	note ,

	/**
	*  tylko notatki powiązane z tą notatką Zwraca (id to id notatki)JSON:{&quot;rez&quot;:&quot;ok&quot;,&quot;notes&quot;:[&quot; id1&quot;,&quot;id2 &quot;,...,&quot;idn &quot;]} JavaScript: var note$rez={&quot;rez&quot;:&quot;ok&quot;,&quot;notes&quot;:[&quot;id1 &quot;,&quot; id2 &quot;,...,&quot; idn &quot;]}txt:ok,id1,id2,...,id3HTML: &lt;div rez=&quot;ok&quot;&gt;&lt;ul&gt;&lt;li&gt;id1&lt;/li&gt;&lt;li&gt;id2&lt;/li&gt;...&lt;li&gt;idn&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;ll 
	* @property note 
	* @private 
	*/
	note ,
	that = this;


	function getOper(noper){
		return oper;
	}
	function getUser(nuser){
		return user ;
	}
	function getMem(nmem){
		return mem ;
	}
	function getTime(ntime){
		return time ;
	}
	function getEndtime(nendtime){
		return endtime ;
	}
	function getKey(nkey){
		return key ;
	}
	function getNote(nnote){
		return note ;
	}

	function setOper(noper){
		oper = noper;
	}
	function setUser(nuser){
		user  = nuser ;
	}
	function setMem(nmem){
		mem  = nmem ;
	}
	function setTime(ntime){
		time  = ntime ;
	}
	function setEndtime(nendtime){
		endtime  = nendtime ;
	}
	function setKey(nkey){
		key  = nkey ;
	}
	function setNote(nnote){
		note  = nnote ;
	}

	function toObject(){
		return{
			oper: oper,
			user : user ,
			mem : mem ,
			time : time ,
			endtime : endtime ,
			key : key ,
			note : note 
		};
	}

	/**
 	* konstruktor
 	*
   	* @constructor         
  	* @method construct    
  	* @public              
 	*/
	(function getnotes (){
		that.getOper = getOper;
		that.getUser = getUser;
		that.getMem = getMem;
		that.getTime = getTime;
		that.getEndtime = getEndtime;
		that.getKey = getKey;
		that.getNote = getNote;
		that.setOper = setOper;
		that.setUser = setUser;
		that.setMem = setMem;
		that.setTime = setTime;
		that.setEndtime = setEndtime;
		that.setKey = setKey;
		that.setNote = setNote;

	})();
}


getnotes .prototype.fromObject = function (obj){
		var object = new getnotes ();
		object.setOper(obj.getOper());
		object.setUser(obj.getUser());
		object.setMem(obj.getMem());
		object.setTime(obj.getTime());
		object.setEndtime(obj.getEndtime());
		object.setKey(obj.getKey());
		object.setNote(obj.getNote());

		return object;
	}

    </pre>
</div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script>prettyPrint();</script>
<script src="../assets/js/yui-prettify.js"></script>
<script src="../assets/../api.js"></script>
<script src="../assets/js/api-filter.js"></script>
<script src="../assets/js/api-list.js"></script>
<script src="../assets/js/api-search.js"></script>
<script src="../assets/js/apidocs.js"></script>
</body>
</html>
